// subKinds
import kindMock from '@/mock/kind/kind.js'
import subKindMock from '@/mock/kind/SubKind/subKind.js'
import commodityPage from '@/mock/kind/commodityPage/commodityPage.js'


function getSubKinds(){
    var kinditem = kindMock.subKinds();
    return new Promise((resolve,reject)=>{
        resolve(kinditem);
    })
}

function getbannerKinds(){
  var bannerkindItem = subKindMock.bannerKinds();
  return new Promise((resolve,reject)=>{
      resolve(bannerkindItem);
  })
}
function getCommo(){
  var kindcommo = commodityPage.kindPages();
  return new Promise((resolve,reject)=>{
      resolve(kindcommo);
  })
}
//发送给外部
export default{
  getSubKinds,
  getbannerKinds,
  getCommo
}
